// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_messagerecipients
// * CreateDate    : 2014-06-05 18:29:59
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:59
// * LastChanger   : 2014-06-05 18:29:59
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmMessagerecipientsTable : TableInfo
    {
		public const string C_TableName = "hm_messagerecipients";
		
		public const string C_recipientid = "recipientid";
		public const string C_recipientmessageid = "recipientmessageid";
		public const string C_recipientaddress = "recipientaddress";
		public const string C_recipientlocalaccountid = "recipientlocalaccountid";
		public const string C_recipientoriginaladdress = "recipientoriginaladdress";
		
		public HmMessagerecipientsTable()
        {
            _tableName = "hm_messagerecipients";
        }
		
		protected static HmMessagerecipientsTable _current;
        public static HmMessagerecipientsTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmMessagerecipientsTable();

            _current.Add(C_recipientid, new ColumnInfo(C_recipientid,"Recipientid", true, typeof(long)));
            _current.Add(C_recipientmessageid, new ColumnInfo(C_recipientmessageid,"Recipientmessageid", false, typeof(long)));
            _current.Add(C_recipientaddress, new ColumnInfo(C_recipientaddress,"Recipientaddress", false, typeof(string)));
            _current.Add(C_recipientlocalaccountid, new ColumnInfo(C_recipientlocalaccountid,"Recipientlocalaccountid", false, typeof(int)));
            _current.Add(C_recipientoriginaladdress, new ColumnInfo(C_recipientoriginaladdress,"Recipientoriginaladdress", false, typeof(string)));
			
		}
		
		public ColumnInfo recipientid
        {
            get { return this[C_recipientid]; }
        }
		
		public ColumnInfo recipientmessageid
        {
            get { return this[C_recipientmessageid]; }
        }
		
		public ColumnInfo recipientaddress
        {
            get { return this[C_recipientaddress]; }
        }
		
		public ColumnInfo recipientlocalaccountid
        {
            get { return this[C_recipientlocalaccountid]; }
        }
		
		public ColumnInfo recipientoriginaladdress
        {
            get { return this[C_recipientoriginaladdress]; }
        }
		
		
		
	}
}

